package com.ruoyi.descriptionrule.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 【提现规则】对象 description_rule
 *
 * @author ruoyi
 * @date 2025-07-02
 */
@ApiModel(description = "提现规则实体")
public class DescriptionRule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "提现规则ID", example = "提现规则ID")
    private Long id;

    @ApiModelProperty(value = "叮豆提现规则", example = "叮豆提现规则")
    @Excel(name = "叮豆提现规则")
    private String ruleDescription;

    @ApiModelProperty(value = "提现金额", example = "提现金额")
    @Excel(name = "多少金额可提现")
    private String ruleAmount;

    @ApiModelProperty(value = "手续费", example = "手续费")
    @Excel(name = "手续费")
    private String ruleCommission;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setRuleDescription(String ruleDescription)
    {
        this.ruleDescription = ruleDescription;
    }

    public String getRuleDescription()
    {
        return ruleDescription;
    }

    public void setRuleAmount(String ruleAmount)
    {
        this.ruleAmount = ruleAmount;
    }

    public String getRuleAmount()
    {
        return ruleAmount;
    }

    public void setRuleCommission(String ruleCommission)
    {
        this.ruleCommission = ruleCommission;
    }

    public String getRuleCommission()
    {
        return ruleCommission;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("ruleDescription", getRuleDescription())
                .append("ruleAmount", getRuleAmount())
                .append("ruleCommission", getRuleCommission())
                .append("createTime", getCreateTime())
                .toString();
    }
}
